package com.testapp.bluetoothtest08.Constant;


import com.testapp.bluetoothtest08.File.FirstCodeFile;
import com.testapp.bluetoothtest08.File.Params;

public class Constants {
    public static String token = "";
    public static String key = new Params().readKey();
    //生成的数据
    public static String code[][] = new String[14][12];
    //t
    public static String t1 = new FirstCodeFile().read();
    public static String LastT = new Params().readLastT();

    public static final int Get_LastT = 1;
    public static final int Get_Day = 2;
    public static final int Get_Time = 3;
    public static final int Get_T = 4;
    public static final int Get_Key = 5;
    public static final int Get_index = 6;
    public static final int Get_deviceTime = 7;
    public static final int Get_devices = 8;
    public static final int Get_LocalTime = 9;

    public static final String serverURL = "http://121.5.16.142:8020";
//    public static final String serverURL = "http://192.168.43.176:8020";

    public static final String LOGIN_URL = "/user/appLogin";
    public static final String REGISTER_URL = "/user/appRegister";
    public static final String UPLOAD_RED_URL = "/userHashTrail/redUpload";
    public static final String GET_RED_URL = "/userHashTrail/redList";
    public static final String UPLOAD_YELLOW_URL = "/codeInfo/contactUpload";
    public static final String REGISTER_OK_URL = "/user/appRegisterVerify";
    public static final String MODIFY_PASSWORD_URL="/user/changePassword";
    public static final String GET_INFO_URL="/user/getUserInfo";
    public static final String SEND_VERIFY_URL="/codeInfo/changeColorVerificationCode";
    public static final String SEND_RECOVER_URL="/codeInfo/recover";
    public static final String QR_SEND_URL="/trail/uploadQRcodeInfo";
    public static final String REQUEST_GENERATE_CODE = "/trail/updateKey";
    public static final String MACHINE_DATA = "/trail/redList";

    public static boolean login = false;


}
